@import '~sassvar';

.misc-crm-ranking {

    .card {
        padding: 20px 0 20px 30px;
        margin-bottom: 20px;
    }

    .intro {
        display: flex;
        align-items: center;
        position: relative;
    }

    .avatar {
        overflow: hidden;
        width: 90px;
        height: 90px;
        margin-right: 20px;
        border-radius: 100%;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .name {
        font-size: 28px;
        color: $text-dark;
    }

    .status {
        position: absolute;
        right: 40px;
        color: #ffb02d;
    }

    .ranking-hd {
        padding: 8px 40px 28px 0;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid $border-color;

        .title {
            font-size: 28px;
            color: $text-dark;
        }

        small {
            font-size: 24px;
            color: $text-normal-light;
        }
    }

    .ranking-bd {
        padding: 50px 30px 40px 0;
    }

    .stars {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .stars-label {
        font-size: 24px;
        color: $text-normal-dark;
        margin-right: 20px;
    }

    .stars-list {
        display: flex;
    }

    .stars-list-item {
        width: 50px;
        height: 50px;
        margin-right: 10px;
        background: url('~images/icon-ranking-stars.png') no-repeat;
        background-size: 200% 100%;

        &.active {
            background-position: 100% 0;
        }
    }

    textarea {
        min-height: 260px;
        padding: 30px;
        width: 100%;
        background: #FAFAFA;
        border-radius: 2px;
        font-size: 24px;
        line-height: 1.45em;
        border: none;
    }
}
